package comm.bwstudio.demo.controller;

import com.bwstudio.common.autoidempotent.annotation.AutoIdempotent;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author buwei
 */
@RestController
public class TestIdempotenceController {

    @AutoIdempotent
    @PostMapping("/test")
    public String testIdempotence() {
        return "Hello World";
    }
}
